home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 October A / Pcwk10a98.iso / Lotus / LOTUS / SMASTERS / APPROACH / SCHEDULE.MPR / SCRIPT / ApproachDoc / Room Setup / Body / lbxRooms.s (.txt) < prev   
Encoding:
Null Bytes Alternating  |  1997-01-09  |  1.6 KB  |  23 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Gotfocus(Source As Listbox)
  5.  
  6. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7.  
  8. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9. Private Sub BindEvents(Byval Objectname_ As String)
  10.     Static Source As LISTBOX
  11.     Set Source = Bind(Objectname_)
  12.     On Event Gotfocus From Source Call Gotfocus
  13. End Sub
  14.  
  15. '++LotusScript Development Environment:2:2:Gotfocus:1:12
  16. Sub Gotfocus(Source As Listbox)
  17. ' Gotfocus event for the lbxRooms list box object on the Room Setup view
  18. ' When the user makes a selection from the Rooms list box, the
  19. ' Remove button in the view is enabled.
  20.     
  21.     source.btnRemove.enabled = True
  22.     
  23. End Sub        ' Gotfocus event for lbxRooms on the Room Setup view